package fr.ul.ade.secunde.util;

import android.os.Build;

/**
 * Offre des méthodes auxiliaires pour vérifier la version installée d'Android.
 * 
 * @author Schnell Michaël
 * @since Jul 29, 2013
 * 
 * @version 1.3
 */
public class VersionUtils {

	public static boolean hasGingerBread() {
		return (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD);
	}// hasGingerBread(Context)

	public static boolean hasHoneyComb() {
		return Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB;
	}

	private VersionUtils() {
	}

}// class VersionUtils